<!--
 * @Description: 传入record数据
 * @Author: lsb
 * @Date: 2022-02-12 
 * @LastEditors: xxx
 * @LastEditTime: 2022-02-12
 -->
<template>
<div class="el-form-item__label" :style="`width:${item.options.width}`" > <span v-text="item.label"></span></div>
</template>
<script>
export default {
  name: "PublicItem",
  props: {
    // 标题信息
    item: {
      label: Object,
      required: true
    }
  }
};
</script>
<style  scoped>
.el-form-item__label {
  text-align: right;
  vertical-align: middle;
  float: left;
  font-size: 14px;
  color: #606266;
  line-height: 40px;
  padding: 0 12px 0 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
</style>
